import React, { Component } from 'react'

export default class Test extends Component {
  state = {
    name: 'ifer',
    age: 18,
  }
  changeName = (name) => {
    this.setState({ name })
  }
  render() {
    return <div>name: {this.state.name}</div>
  }
}
